@import "../../assets/styles/variables";

.messenger {
  &__dialog {
    flex: 1;
    background-color: #f4f4f1;

    &-control {
      button {
        font-size: 14px;
        border: none;
        cursor: pointer;
        font-weight: 300;
        padding: 5px 0;
        border-radius: 10px;
        background-color: $white;
        height: 40px;
        width: 100%;
      }

      button:hover {
        background-color: $lightGray;
      }

      &-delete {
      }

      &-delete::before {
        content: '';
        width: 30px;
        height: 30px;
        padding: 0 5px 0 5px;
        background-image: url("../../assets/img/redTrash.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 10px;
      }
    }

    &-header {
      padding: 12px;
      display: flex;
      box-shadow: 17px 2px 20px 2px rgb(0 0 0 / 4%);
      justify-content: space-between;
      align-items: center;
      min-height: 37px;

      &-name {
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
        font-weight: 500;
        cursor: pointer;
      }

      &-countMemberships {
        opacity: 0.7;
        color: $grey;
        display: flex;
        justify-content: center;
        font-weight: 300;
        font-size: 14px;
        cursor: pointer;
      }

      &-more {
        cursor: pointer;
        border: unset;
        background-color: unset;
        width: 25px;
        height: 25px;
        background-image: url("../../assets/img/more.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }

      &-more:hover, &-more:active {
        transform: scale(1.2);
        background-color: #ffffff;
        border-radius: 50%;
      }
    }

    &-messages {
      height: calc(100vh - 173px);
    }

    &-input {
      display: flex;
      align-items: center;
      height: 109px;
      background-color: $lightBlue;
      padding-top: 3px;
    }
  }
}